package com.vhall.component.entity.room.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author jingwen.li
 */
@TableName(value = "room_reservation_third")
@Data
public class RoomReservationThirdEntity implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "il_id")
    private Integer ilId;
    @TableField("room_id")
    private String roomId;

    @TableField("room_title")
    private String roomTitle;

    @TableField("room_introduction")
    private String roomIntroduction;

    @TableField("room_start_time")
    private LocalDateTime roomStartTime;

    @TableField("h5_url")
    private String h5Url;

    @TableField("phone")
    private String phone;

    /**
     * 预约状态 0：取消 1: 已预约
     */
    @TableField("status")
    private Integer status;
    /**
     * 房间状态 0：未开始 1：进行中 2：已结束
     */
    @TableField("room_status")
    private Integer roomStatus;
    /**
     * 推送状态 0：未推送 1：已推送
     */
    @TableField("push_status")
    private Integer pushStatus;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;
    /**
     * 是否直播观看过, 0:否 1:是
     */
    @TableField("is_live_watch")
    private Integer isLiveWatch;
    /**
     * 是否有默认回放, 0:否 1:是
     */
    @TableField("have_playback")
    private Integer havePlayback;
    /**
     * 是否已发送回放观看通知(没有观看过直播的情况下,才发送观看回放通知), 0:否 1:是
     */
    @TableField("playback_push_status")
    private Integer playbackPushStatus;
    /**
     * 回放通知发送时间
     */
    @TableField("playback_push_time")
    private Date playbackPushTime;

}
